package com.wlyy.bcwlw.sys.role.entity;

import org.directwebremoting.annotations.DataTransferObject;

import com.rework.joss.persistence.convention.annotation.GeneratedValue;
import com.rework.joss.persistence.convention.annotation.Id;
import com.rework.joss.persistence.convention.annotation.Table;
import com.rework.joss.persistence.convention.annotation.Transient;
import com.wlyy.bcwlw.base.BaseDTO;


@DataTransferObject
@Table(name="sys_role_permission")
public class RolePermissionDTO extends BaseDTO{
    /** 
	* @Fields serialVersionUID : TODO
	*/ 
	@Transient
	private static final long serialVersionUID = 3548126582968597572L;

	/** 关系id */
	@GeneratedValue(generator = "UUID")
	@Id
    private String rolePermissionId;

    /** 角色id */
    private String roleId;

    /** 权限id */
    private String permissionId;

    /**
     * 获取关系id
     *
     * @return role_permission_id - 关系id
     */
    public String getRolePermissionId() {
        return rolePermissionId;
    }

    /**
     * 设置关系id
     *
     * @param rolePermissionId 关系id
     */
    public void setRolePermissionId(String rolePermissionId) {
        this.rolePermissionId = rolePermissionId;
    }

    /**
     * 获取角色id
     *
     * @return role_id - 角色id
     */
    public String getRoleId() {
        return roleId;
    }

    /**
     * 设置角色id
     *
     * @param roleId 角色id
     */
    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    /**
     * 获取权限id
     *
     * @return permission_id - 权限id
     */
    public String getPermissionId() {
        return permissionId;
    }

    /**
     * 设置权限id
     *
     * @param permissionId 权限id
     */
    public void setPermissionId(String permissionId) {
        this.permissionId = permissionId;
    }
}